package com.longdaji.decoration.ui.wear;


import com.longdaji.decoration.base.BasePresenter;
import com.longdaji.decoration.base.BaseView;
import com.longdaji.decoration.data.bean.CaptainInfoBean;
import com.longdaji.decoration.data.bean.CartBean;
import com.longdaji.decoration.data.bean.GoodsAccountBean;

import java.util.List;

/**
 * Created by longtao on 2017/12/19.
 */

public interface WearContract {

    interface View extends BaseView {
        void showGoodsAndReceiverData(GoodsAccountBean goodsAccountBean);

        void showNoCaptain();

        void showCaptainInfo(List<CaptainInfoBean> captainInfoList);
    }

    interface Presenter extends BasePresenter<View> {
        void getAccountData(String userId, List<CartBean.Cart> cartGoodsList);

        void getCaptainInfo(String dormitoryId, String dormitoryName);

        void queryCaptainInfo(String userId);

    }
}
